package com.punch.common.dto.login;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * AppLoginUserDTO-PC端登录
 *
 * @author wujj
 * @version 1.0.0
 * @since 2020/7/30 15:16
 */
@Data
@ApiModel(description = "app登录表单")
public class AppLoginUserDTO implements Serializable {

    /**
     * 手机号码
     */
    @ApiModelProperty(name = "mobile", notes = "手机号码",required = true)
    private String mobile;

    /**
     * 密码登录需要
     */
    @ApiModelProperty(name = "password", notes = "密码登录需要")
    private String password;

    /**
     * 验证码登录需要
     */
    @ApiModelProperty(name = "code", notes = "验证码登录需要")
    private String code;

    /**
     * 0-安卓 1-ios
     */
    @ApiModelProperty(name = "os", notes = " 0-安卓 1-ios",required = true)
    private Integer os;

    /**
     * 系统版本
     */
    @ApiModelProperty(name = "osVersion", notes = "系统版本",required = true)
    private String osVersion;

    /**
     * 设备id
     */
    @ApiModelProperty(name = "deviceId", notes = "设备id",required = true)
    private String deviceId;

    /**
     * 设备类型
     */
    @ApiModelProperty(name = "deviceType", notes = "设备类型",required = true)
    private String deviceType;

    /**
     * app版本
     */
    @ApiModelProperty(name = "appVersion", notes = "app版本",required = true)
    private String appVersion;
    ;
}
